package com.hbnu.iostream;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.Reader;

public class ReaderDemo1 {
    public static void main(String[] args) {
        String path = "C:" + File.separator +"Users" + File.separator +"TX" + File.separator +"IdeaProjects" + File.separator +"javalean" + File.separator +"src" + File.separator +"com" + File.separator +"hbnu" + File.separator +"iostream" + File.separator +"test.txt";
        File file = new File(path);

        try {
            Reader in = new FileReader(file);
        } catch (FileNotFoundException e) {
            throw new RuntimeException(e);
        }

    }
}
